import { PageContainer } from '@ant-design/pro-components';
import React from 'react';
import {useParams} from "@@/exports";
import SpaceUsageAnalyzeCard from "@/pages/Analyze/components/SpaceUsageAnalyzeCard";
import SpaceCategoryAnalyzeChart from "@/pages/Analyze/components/SpaceCategoryAnalyzeChart";


const IndexPage: React.FC = () => {
  const {id}=useParams();
  return <PageContainer title={<></>}>
    <SpaceUsageAnalyzeCard spaceId={id} queryAll={false} queryPublic={false}/>
    <SpaceCategoryAnalyzeChart/>
  </PageContainer>;
};

export default IndexPage;
